<?php
namespace tool;

class M2Result {
  public $code = 0;
  public $msg = '成功';

  public function toJson()

  {
    return json_encode($this, JSON_UNESCAPED_UNICODE);
  }

}
